<ion-view view-title="必填类">
  <ion-content style="background-color:#f5f5f5;padding-top:10px;">

  		<div class="list" style="margin-bottom: 0px;">
  			
			<label class="item item-input">
				<img src="img/credit/wx-icon.png" height="20" />
  				<span class="input-label">&nbsp;微信</span>
  				<input type="text" placeholder="请输入您的微信号" ng-model="generalInfo.weixin">
  			</label>
  			
			<label class="item item-input">
				<img src="img/credit/qq-icon.png" height="20" />
  				<span class="input-label">&nbsp;QQ号</span>
  				<input type="text" placeholder="请输入您的QQ号" ng-model="generalInfo.qq">
  			</label>
		</div>

		<div style="padding-left: 17px;background-color: white;margin-top:10px;">
			<div style="font-size: 16px;padding-top:3px;"><img src="img/credit/zp-icon.png" height="20" style="vertical-align: bottom;" />&nbsp;照片</div>
			<div style="font-size: 16px;margin-top: 10px;">身份证正面高清照</div>
			<div style="font-size: 10px;color: red;height: 30px;line-height: 30px;">上传照片需要经过人工审核后，才能借款，请确保图片真实清晰</div>
			<div>
				<img src="img/credit/sfz-fm.png" width="100" height="100" ng-click="bigPic(1)" id='img1' />
				<img ng-if="generalInfo.certificateNoZAddress==null||generalInfo.certificateNoZAddress==''" ng-src="img/credit/upload.png" width="100" height="100" ng-click="uploadPic(1)" />
				<img ng-if="generalInfo.certificateNoZAddress!=null&&generalInfo.certificateNoZAddress!=''" ng-src="http://image.credit-manage.com/{{generalInfo.certificateNoZAddress}}" width="100" height="100" />
			</div>
		</div>
		
		<div style="padding-left: 17px;background-color: white;padding-top:10px;">
			<div style="font-size: 16px;margin-top: 10px;">身份证高清自拍照</div>
			<div style="font-size: 10px;color: #A2A2A2;height: 30px;line-height: 30px;">上传照片需要经过人工审核后，才能借款，请确保图片真实清晰</div>
			<div>
				<img src="img/credit/sc-fm.png" width="100" height="100"ng-click='bigPic(2)' id='img2' />
				<img ng-if="generalInfo.certificateNoAddress==null||generalInfo.certificateNoAddress==''" ng-src="img/credit/upload.png" width="100" height="100" ng-click="uploadPic(2)" />
				<img ng-if="generalInfo.certificateNoAddress!=null&&generalInfo.certificateNoAddress!=''" ng-src="http://image.credit-manage.com/{{generalInfo.certificateNoAddress}}" width="100" height="100" />
			</div>
		</div>
		
		<div style="padding-left: 17px;background-color: white;padding-top:10px;">
			<div style="font-size: 16px;margin-top: 10px;">微信“账户与安全”高清图片</div>
			<!--<div style="font-size: 10px;color: #A2A2A2;height: 30px;line-height: 30px;">--><p style="white-space:normal ;font-size: 10px;color: #A2A2A2;">打开微信，我-设置-账户与安全的截图，上传图片需要经过人工审核，才能借款，请确保照片真实清晰</p><!--</div>-->
			<div>
				<img src="img/credit/wx-fm2.png" width="100" height="100" ng-click='bigPic(3)'id='img3'  />
				<img ng-if="generalInfo.weiXinAddress==null||generalInfo.weiXinAddress==''" ng-src="img/credit/upload.png" width="100" height="100" ng-click="uploadPic(3)" />
				<img ng-if="generalInfo.weiXinAddress!=null&&generalInfo.weiXinAddress!=''" ng-src="http://image.credit-manage.com/{{generalInfo.weiXinAddress}}" width="100" height="100" />
			</div>
		</div>
		
		<div style="padding-left: 17px;background-color: white;padding-top:10px;">
			<div style="font-size: 16px;margin-top: 10px;">个人生活照</div>
			<div style="font-size: 10px;color: #A2A2A2;height: 30px;line-height: 30px;">上传照片需要经过人工审核后，才能借款，请确保图片真实清晰</div>
			<div>
				<img src="img/credit/shz-fm.png" width="100" height="100"ng-click='bigPic(4)' id='img4' />
				<span ng-repeat="lifePic in lifePicAddressList">
					<img ng-src="http://image.credit-manage.com/{{lifePic.lifePicAddress}}" width="100" height="100"/>
				</span>
				<img src="img/credit/upload.png" width="100" height="100" ng-click="uploadPic(4)" />
			</div>
		</div>
		
		<div style="margin-right: 17px;margin-left: 17px;">
    		<button class="button button-block button-positive" ng-click='saveGeneralInfo()'>提交</button>
    	</div>
    	
    	<div class="info">
    		<div class="infoTitle">温馨提示</div>
    		<div class="infoContent">1.请务必如实填写联系人的真实信息，以便客服联系审核</div>
    		<div class="infoContent">2.客服将添加您的QQ及微信，请通过验证并开放空间及朋友圈</div>
    		<div class="infoContent">3.故意提交虚假资料将被拒</div>
    		<div class="infoContent">4.客服将在24小时内进行审核，请注意接听来自云南的电话</div>
    	</div>	
     <script id="templates/modal.html" type="text/ng-template">
      <ion-modal-view style="text-align: center;">
        <ion-header-bar class="bar bar-header "  >
        	<button class="button button-clear button-primary" ng-click="modal.hide()" style="color:#79CF86;">返回</button>
          <h1 class="title" style="color:#79CF86;">{{TitileName}}</h1>
        </ion-header-bar>
        <ion-content class="padding" >
       <div class="list card">
        <div class="item item-image">
          <img  src="{{urlPic}}" />
        </div>
        </div>
        </ion-content>
      </ion-modal-view>
    </script> 	
    	
	</ion-content>
</ion-view>